// 假设 @/axios 是相对路径的别名，尝试替换为实际的相对路径，需根据实际项目结构调整
import { get, post } from '@/axios/index.js'


// 活动列表
export const getFrontActivityList = (data) => get('/activity/getFrontList', data)

//获取自己的申请记录
export const getApplyRecordList = (status) => get('/activity/recordList?status='+status)

//用户取消
export const applyCancel = (id) => get('/activity/cancel/'+id)

//申请活动
export const applyAdd = (data) => post('/activity/apply',data)
